#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QString>
#include <QJsonObject>
#include <QJsonArray>
namespace Ui {
class Dialog;
}

class QWebEngineView;
class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();

protected Q_SLOTS:

    void on_pbAlert_clicked();

Q_SIGNALS:
    void sendstring2js(QString);
    void sendjsonarray2js(QJsonArray);
    void sendjsonobj2js(QJsonObject);

private:
//    QWebEngineView *m_view;
    Ui::Dialog *ui;

};

#endif // DIALOG_H
